<template>
    <div>
        <p>
            <router-link to="/">主页</router-link> |
            <router-link to="/about">关于</router-link> |
            <router-link to="/controlpanel">计数器面板</router-link> |
            <router-link to="/counter">单个计数器</router-link>
        </p>
        <div style="width: 300px; height: 300px; background-color: #ffaabb">
            <router-view></router-view>
        </div>
        <el-form-test />
        <hello-world-3 />
    </div>
</template>

<script lang="ts">
import ElFormTest from "./elementuiTest/formTest.vue";
import HelloWorld3 from "./components/HelloWorld3";
import { defineComponent } from "vue";


export default defineComponent({
    name: "app",
    components: {
        ElFormTest,
        HelloWorld3,
    },
});
</script>

<style>
#app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
}
</style>
